package com.kh.rationaldrugreview.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReviewResult {
    
    private Long resultId;
    
    private Long prescriptionId;
    
    private Long ruleId;
    
    private String reviewType;
    
    private String resultCode;
    
    private String severity;
    
    private String message;
    
    private String recommendation;
    
    private String affectedDrugs;
    
    private String conflictDetails;
    
    private Boolean isOverridden;
    
    private String overrideReason;
    
    private String overriddenBy;
    
    private LocalDateTime overriddenAt;
    
    private Boolean isResolved;
    
    private String resolution;
    
    private String resolvedBy;
    
    private LocalDateTime resolvedAt;
    
    private LocalDateTime createdAt;
    
    private String createdBy;
    
    private String drugName;
    
    private String interactingDrug;
    
    private String management;
    
    private String type;
    
    private Prescription prescription;
    
    private ReviewRule reviewRule;
}